package org.zfes.snowier.cloud.zbss.loan.base.dao;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.zfes.snowier.common.dao.mybatis.BaseMapper;
import org.zfes.snowier.common.dao.params.ParamMap;
import org.zfes.snowier.cloud.zbss.loan.base.model.BaseDatadictionary;
import org.zfes.snowier.core.data.Record;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface BaseDatadictionaryMapper extends BaseMapper<BaseDatadictionary>{
	
	Long selectListCount(ParamMap params);
	
	List<Record> selectMapListPage(ParamMap params);
	
	List<BaseDatadictionary> selectModelListPage(ParamMap params);
	
	int updateStatus(@Param("id")Long id, @Param("status")Byte status);

	List<Record> loadBaseDatadictionaryForCode(@Param("code")String code);
}
